/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Aug 7, 2007 1:06:36 AM $
 *
 * Author: Eric Yang
 * Date  : Aug 7, 2007 1:06:36 AM
 *
 */
package com.gooex.service.organization;

import java.util.List;

import com.gooex.domain.organization.Role;
import com.gooex.service.organization.exception.RoleException;

/**
 * @author Eric Yang
 * @version 1.0
 */
public interface IRoleManager {
	/** TODO comment */
	public Role getRole(String id);

	/** TODO comment */
	public List<Role> getRoles();

	/** TODO comment */
	public Role getRoleByName(String name);

	/** TODO comment */
	public void saveRole(Role role);

	/** TODO comment */
	public void removeRole(Role role) throws RoleException;

}
